const go/types._DuplicateDecl
12 uses
go/types (current package)
decl.go#L19: check.errorf(obj, _DuplicateDecl, "\tother declaration of %s", obj.Name()) // secondary error, \t indented
decl.go#L30: check.errorf(obj, _DuplicateDecl, "%s redeclared in this block", obj.Name())
errorcodes.go#L96: _DuplicateDecl
resolver.go#L325: check.errorf(d.spec.Name, _DuplicateDecl, "%s redeclared in this block", alt.Name())
resolver.go#L462: check.errorf(alt, _DuplicateDecl, "%s already declared through import of %s", alt.Name(), pkg.Imported())
resolver.go#L465: check.errorf(alt, _DuplicateDecl, "%s already declared through dot-import of %s", alt.Name(), obj.Pkg())
signature.go#L184: check.errorf(obj, _DuplicateDecl, "%s redeclared in this block", obj.Name())
struct.go#L200: check.errorf(atPos(pos), _DuplicateDecl, "%s redeclared", obj.Name())
typeset.go#L232: check.errorf(atPos(pos), _DuplicateDecl, "duplicate method %s", m.name)
typeset.go#L233: check.errorf(atPos(mpos[other.(*Func)]), _DuplicateDecl, "\tother declaration of %s", m.name) // secondary error, \t indented
typeset.go#L248: check.errorf(atPos(pos), _DuplicateDecl, "duplicate method %s", m.name)
typeset.go#L249: check.errorf(atPos(mpos[other.(*Func)]), _DuplicateDecl, "\tother declaration of %s", m.name) // secondary error, \t indented